<template>
  <div>
      <input type="text" v-model='form.title'>标题
        <button @click='add'>添加</button>
  </div>
</template>

<script>
export default {
    data(){
        return{
            form:{}
        }
    },
    methods:{
        add(){
            this.axios.post('http://localhost:5000',this.form).then(item=>{
                
            })
        }
    }
}
</script>

<style>

</style>